package com.dyh.quickdemo.demos.spy.demos;

import com.dyh.quickdemo.demos.spy.Spy;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

/*
@Author=Joey Wheeler
@Date=2020/12/4 10:10
*/
@Component
@Slf4j
public class XXdao {

    public void xx() {
        Spy.enter();
        try {
            Thread.sleep(200L);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        log.info("dao.xx");
        Spy.exit();
    }
}
